package xps.and.uudaijia.userclient.data.baen;

/**
 * Created by Administrator on 2017/7/11.
 */

public class LoginBean {
    @Override
    public String toString() {
        return "LoginBean{" +
                "return_code='" + return_code + '\'' +
                ", return_msg='" + return_msg + '\'' +
                ", return_body=" + return_body +
                '}';
    }

    /**
     * return_code : SUCCESS
     * return_msg : 登录成功
     * return_body : {"userId":46,"name":"","nickName":"UU_998816","userPhone":"15811139099","sex":2,"headImg":"http://uu-user.oss-cn-beijing.aliyuncs.com/defaultHeadImg/women.png","driverId":0,"access_token":"kghhaE1L6yzb4tBdPlUrNx8MkGMuH5p2"}
     */

    private String return_code;
    private String return_msg;
    private ReturnBodyBean return_body;

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public ReturnBodyBean getReturn_body() {
        return return_body;
    }

    public void setReturn_body(ReturnBodyBean return_body) {
        this.return_body = return_body;
    }

    public static class ReturnBodyBean {
        @Override
        public String toString() {
            return "ReturnBodyBean{" +
                    "userId=" + userId +
                    ", name='" + name + '\'' +
                    ", nickName='" + nickName + '\'' +
                    ", userPhone='" + userPhone + '\'' +
                    ", sex=" + sex +
                    ", headImg='" + headImg + '\'' +
                    ", driverId=" + driverId +
                    ", access_token='" + access_token + '\'' +
                    '}';
        }

        /**
         * userId : 46
         * name :
         * nickName : UU_998816
         * userPhone : 15811139099
         * sex : 2
         * headImg : http://uu-user.oss-cn-beijing.aliyuncs.com/defaultHeadImg/women.png
         * driverId : 0
         * access_token : kghhaE1L6yzb4tBdPlUrNx8MkGMuH5p2
         */

        private int userId;
        private String name;
        private String nickName;
        private String userPhone;
        private int sex;
        private String headImg;
        private int driverId;
        private String access_token;

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getHeadImg() {
            return headImg;
        }

        public void setHeadImg(String headImg) {
            this.headImg = headImg;
        }

        public int getDriverId() {
            return driverId;
        }

        public void setDriverId(int driverId) {
            this.driverId = driverId;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }
    }
}
